<template>
<div class="home">
    <!-- 即使找到这个测试AK也请别滥用,谢谢 -->
    <navigation mapAK="VkUxZB5MuTnyqTESgLBoakZASjez44wc" :positionNow="position" :name="endName" >
    </navigation>
</div>
</template>

<script>
// @ is an alias to /src
import navigation from '@/components/navigation.vue'

export default {
  name: 'Index',
  components: {
    navigation
  },
  data () {
    return {
      position: [113.238461, 27.999319], // 终点的经纬度
      endName: '可自定义终点名称，百度导航同用这个终点名' // 终点名称
    }
  }
}
</script>
